@extends('web.layouts.web-master') @section('title', __('static.faq.meta_title')) @section('meta_description', __('static.faq.meta_description')) @php // Host-aware Kontaktadresse: Hub (pressekonto) vs. Spokes. Betreiber- // Postfach als Fallback, bis CONTACT_EMAIL_* gesetzt sind (R2.1). $host = request()->getHost(); $faqBrandKey = str_contains($host, 'pressekonto') ? 'pressekonto' : (str_contains($host, 'presseecho') ? 'presseecho' : 'businessportal24'); $faqContactEmail = config('domains.domains.'.$faqBrandKey.'.brand.contact_email') ?? 'info@businessportal24.com'; // FAQ-Inhalte als Datenstruktur (DRY), Texte aus lang/{de,en}/static.php. // Antworten dürfen kontrolliertes HTML enthalten (nur eigene Literale, // keine Nutzereingaben). $faqCategories = [ [ 'title' => __('static.faq.cat_start'), 'items' => [ ['q' => __('static.faq.q_first_pm'), 'a' => __('static.faq.a_first_pm')], ['q' => __('static.faq.q_audience'), 'a' => __('static.faq.a_audience')], ['q' => __('static.faq.q_register_to_read'), 'a' => __('static.faq.a_register_to_read')], ['q' => __('static.faq.q_review_time'), 'a' => __('static.faq.a_review_time')], ], ], [ 'title' => __('static.faq.cat_account'), 'items' => [ ['q' => __('static.faq.q_change_plan'), 'a' => __('static.faq.a_change_plan')], ['q' => __('static.faq.q_payment_methods'), 'a' => __('static.faq.a_payment_methods')], ['q' => __('static.faq.q_cancel_plan'), 'a' => __('static.faq.a_cancel_plan', ['url' => route('kuendigung')])], ['q' => __('static.faq.q_delete_account'), 'a' => __('static.faq.a_delete_account')], ], ], [ 'title' => __('static.faq.cat_content'), 'items' => [ ['q' => __('static.faq.q_file_formats'), 'a' => __('static.faq.a_file_formats')], ['q' => __('static.faq.q_corrections'), 'a' => __('static.faq.a_corrections')], ['q' => __('static.faq.q_seo'), 'a' => __('static.faq.a_seo')], ['q' => __('static.faq.q_rejection'), 'a' => __('static.faq.a_rejection')], ], ], [ 'title' => __('static.faq.cat_newsroom'), 'items' => [ ['q' => __('static.faq.q_newsroom'), 'a' => __('static.faq.a_newsroom')], ['q' => __('static.faq.q_stats'), 'a' => __('static.faq.a_stats')], ['q' => __('static.faq.q_api'), 'a' => __('static.faq.a_api', ['url' => route('api')])], ], ], ]; @endphp @section('content')
@foreach ($faqCategories as $category)

{{ $category['title'] }}

@foreach ($category['items'] as $item)
{{ $item['q'] }}
{!! $item['a'] !!}
@endforeach
@endforeach
{{-- Abschluss-CTA: Frage nicht gefunden? --}}

{{ __('static.faq.not_found') }}

{{ __('static.faq.support_intro') }} {{ $faqContactEmail }} {{ __('static.faq.support_outro') }}

{{ __('static.faq.visit_help') }}
@endsection