/*
Theme Name: ANT FISCHER
Theme URI: https://home.antfischer.de
Author: Ant Fischer
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: antfischer
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@200;300;400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    color: #2e2c29;
    background: #faf9f6;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* === NAVIGATION === */
.af-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.6rem 5vw;
    border-bottom: 0.5px solid rgba(46,44,41,0.1);
    width: 100%;
    background: #faf9f6;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(250,249,246,0.92);
}

.af-logo-wrap img { height: 52px; width: auto; }

.af-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    letter-spacing: 0.18em;
    color: #2e2c29;
    display: flex;
    align-items: center;
    gap: 0;
    text-transform: uppercase;
}

.af-logo-dot {
    width: 7px;
    height: 7px;
    background: #9a7b2a;
    display: inline-block;
    flex-shrink: 0;
    margin-left: 7px;
}

.af-nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.af-nav-links a {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6a6660;
    transition: color 0.3s;
    font-weight: 400;
}

.af-nav-links a:hover { color: #9a7b2a; }

.af-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.af-nav-toggle span {
    display: block;
    width: 22px;
    height: 0.5px;
    background: #2e2c29;
    transition: all 0.2s;
}

/* === HERO === */
.af-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: calc(100vh - 67px);
    width: 100%;
}

.af-hero-text {
    padding: 0 7vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.af-hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #9a7b2a;
    margin-bottom: 1.75rem;
    display: block;
}

.af-hero-text h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 5.5vw, 80px);
    font-weight: 300;
    line-height: 1.04;
    color: #1e1c1a;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.af-hero-text h1 em {
    font-style: italic;
    color: #9a7b2a;
    font-weight: 300;
}

.af-hero-text p {
    font-size: clamp(12px, 1.1vw, 15px);
    line-height: 1.9;
    color: #7a7670;
    max-width: 340px;
    letter-spacing: 0.03em;
    margin-bottom: 3rem;
    font-weight: 300;
}

.af-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #2e2c29;
    padding-bottom: 4px;
    border-bottom: 0.5px solid #9a7b2a;
    transition: gap 0.3s ease, color 0.3s;
    width: fit-content;
}

.af-hero-cta:hover { gap: 20px; color: #9a7b2a; }

.af-hero-visual {
    background: #ede9e0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4vw;
    position: relative;
    overflow: hidden;
}

/* subtile vertikale Linie als Dekoration */
.af-hero-visual::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 0.5px;
    background: rgba(46,44,41,0.12);
}

.af-hero-visual img {
    max-width: 220px;
    max-height: 260px;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.af-hero-visual .af-logo-text {
    font-size: 16px;
    letter-spacing: 0.2em;
    color: #4a4844;
}

/* === DIVIDER === */
.af-divider {
    height: 0.5px;
    background: rgba(46,44,41,0.1);
    border: none;
    margin: 0;
}

/* === LEISTUNGEN === */
.af-services {
    padding: 7rem 5vw;
    max-width: 1300px;
    margin: 0 auto;
}

.af-section-header {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    margin-bottom: 4rem;
}

.af-section-header .af-num {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9a7b2a;
    font-weight: 400;
}

.af-section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 3.5vw, 46px);
    font-weight: 300;
    color: #1e1c1a;
    letter-spacing: -0.01em;
}

.af-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(46,44,41,0.08);
}

.af-service-item {
    padding: 2.5rem 3rem;
    background: #faf9f6;
    transition: background 0.3s ease;
    cursor: default;
}

.af-service-item:hover { background: #f5f1e8; }

.af-service-item.af-service-full {
    grid-column: 1 / -1;
}

.af-service-item.af-service-full:hover { background: #f2ede0; }

.af-service-num {
    font-size: 9px;
    color: #9a7b2a;
    letter-spacing: 0.18em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.af-service-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 400;
    color: #1e1c1a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.af-service-item p {
    font-size: 13px;
    color: #7a7670;
    line-height: 1.8;
    max-width: 380px;
}

.af-service-item.af-service-full p {
    max-width: 680px;
}

/* === ÜBER === */
.af-about {
    padding: 7rem 5vw;
    background: #1e1c1a;
    color: #d4cfc4;
    position: relative;
    overflow: hidden;
}

/* dezente goldene Linie oben */
.af-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5vw;
    right: 5vw;
    height: 0.5px;
    background: linear-gradient(90deg, #9a7b2a 0%, transparent 60%);
}

.af-about-inner { max-width: 1300px; margin: 0 auto; }

.af-about blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.45;
    color: #ece8de;
    border-left: 1px solid #9a7b2a;
    padding-left: 2.5rem;
    max-width: 700px;
    letter-spacing: -0.01em;
}

.af-about p {
    font-size: 14px;
    color: #7a7670;
    margin-top: 2rem;
    line-height: 1.9;
    max-width: 520px;
    padding-left: 0;
}

/* === KONTAKT === */
.af-contact {
    padding: 7rem 5vw;
    max-width: 1300px;
    margin: 0 auto;
}

/* Formular-Wrapper */
.wpcf7-form,
.af-form-wrap {
    display: block;
    margin-top: 3rem;
    max-width: 640px;
}

/* Jede Zeile: goldene vertikale Linie links, Label + Feld rechts */
.af-field {
    display: grid;
    grid-template-columns: 2px 1fr;
    gap: 0 2rem;
    margin-bottom: 0;
    position: relative;
}

/* Die vertikale goldene Linie */
.af-field-line-v {
    grid-column: 1;
    grid-row: 1 / 4;
    background: linear-gradient(to bottom, #9a7b2a 0%, rgba(154,123,42,0.15) 100%);
    width: 1px;
    margin-left: 0.5px;
}

/* Label-Zeile (Icon-Ersatz + Bezeichnung) */
.af-field-label {
    grid-column: 2;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 2rem 0 0.5rem;
}

.af-field-label .af-field-icon {
    width: 16px;
    height: 16px;
    opacity: 0.5;
    flex-shrink: 0;
}

.af-field-label span,
.af-field-label label,
.wpcf7-form .af-field-label label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 400;
    color: #2e2c29;
    letter-spacing: 0.01em;
    text-transform: none;
    display: inline;
    margin: 0;
}

/* Zweispaltig (Name: Vorname + Nachname) */
.af-field-inputs {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 0.5px solid rgba(46,44,41,0.08);
}

.af-field-inputs.af-full {
    grid-template-columns: 1fr;
}

/* Eingabefelder */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    background: transparent;
    border: none;
    border-bottom: 0.5px solid rgba(46,44,41,0.18);
    outline: none;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #2e2c29;
    padding: 0.4rem 0 0.6rem;
    width: 100%;
    transition: border-color 0.35s ease;
    border-radius: 0;
    -webkit-appearance: none;
    letter-spacing: 0.02em;
}

.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form input[type="tel"]::placeholder,
.wpcf7-form textarea::placeholder {
    color: #c0bdb8;
    font-weight: 300;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    border-bottom-color: #9a7b2a;
}

.wpcf7-form textarea {
    resize: none;
    height: 100px;
    line-height: 1.8;
}

/* Sub-Label (Vorname / Nachname) */
.af-sub-label {
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b0ada8;
    display: block;
    margin-bottom: 4px;
    font-family: 'Jost', sans-serif;
}

/* Datenschutz */
.af-privacy-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 2.5rem 0 2.5rem 3rem;
    font-size: 11px;
    color: #9a9590;
    line-height: 1.8;
    letter-spacing: 0.02em;
    max-width: 520px;
}

.af-privacy-row input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #9a7b2a;
    width: 13px;
    height: 13px;
}

.af-privacy-row a {
    color: #9a7b2a;
    border-bottom: 0.5px solid rgba(154,123,42,0.3);
    transition: border-color 0.2s;
}

.af-privacy-row a:hover { border-bottom-color: #9a7b2a; }

/* Submit-Bereich */
.af-submit-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 2rem;
    margin-left: 3rem;
}

.wpcf7-form input[type="submit"],
.af-btn {
    background: transparent;
    color: #2e2c29;
    border: 0.5px solid rgba(46,44,41,0.25);
    padding: 1rem 3rem;
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.35s, color 0.35s, border-color 0.35s;
    font-weight: 400;
    border-radius: 0;
    -webkit-appearance: none;
}

.wpcf7-form input[type="submit"]:hover,
.af-btn:hover {
    background: #1e1c1a;
    color: #ece8de;
    border-color: #1e1c1a;
}

/* CF7 Meldungen */
.wpcf7-response-output {
    margin: 1.5rem 0 0 3rem;
    padding: 1rem 0;
    font-size: 13px;
    border: none;
    border-top: 0.5px solid #9a7b2a;
    color: #2e2c29;
    letter-spacing: 0.03em;
    background: transparent;
}

.wpcf7-not-valid-tip {
    font-size: 10px;
    color: #c0392b;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .af-field-inputs { grid-template-columns: 1fr; gap: 1.5rem; }
    .af-submit-row { margin-left: 0; }
    .af-privacy-row { margin-left: 0; }
    .wpcf7-response-output { margin-left: 0; }
}

/* === FOOTER === */
.af-footer {
    border-top: 0.5px solid rgba(46,44,41,0.1);
    padding: 2.5rem 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    color: #aaa9a5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    width: 100%;
}

.af-footer a { color: #9a7b2a; transition: opacity 0.2s; }
.af-footer a:hover { opacity: 0.7; }

.af-footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    color: #2e2c29;
    display: flex;
    align-items: center;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.af-footer-logo .af-logo-dot { margin-left: 7px; }

/* === UNTERSEITEN === */
.af-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 5rem 5vw 7rem;
    min-height: 60vh;
}

.af-page-inner { max-width: 680px; }

.af-page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 300;
    color: #1e1c1a;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 0.5px solid rgba(46,44,41,0.12);
    letter-spacing: -0.01em;
}

.af-page-content { font-size: 14px; line-height: 1.9; color: #4a4844; }

.af-page-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px; font-weight: 400;
    color: #1e1c1a; margin: 2.5rem 0 0.75rem;
}

.af-page-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px; font-weight: 400;
    color: #1e1c1a; margin: 1.5rem 0 0.5rem;
}

.af-page-content p { margin-bottom: 1rem; }

.af-page-content a {
    color: #9a7b2a;
    border-bottom: 0.5px solid rgba(154,123,42,0.35);
    transition: border-color 0.2s;
}

.af-page-content a:hover { border-bottom-color: #9a7b2a; }

.af-page-content ul,
.af-page-content ol { margin: 0.75rem 0 1rem 1.5rem; }

.af-page-content li { margin-bottom: 0.4rem; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .af-hero { grid-template-columns: 1fr; height: auto; min-height: calc(100vh - 67px); }
    .af-hero-visual { min-height: 240px; }
    .af-hero-visual::before { display: none; }
    .af-service-grid { grid-template-columns: 1fr; }
    .af-service-item.af-service-full { grid-column: 1; }
    .wpcf7-form { grid-template-columns: 1fr; }
    .af-privacy-row, .af-submit-row { grid-column: 1; }
    .af-nav-links {
        display: none; flex-direction: column;
        position: absolute; top: 67px; left: 0; right: 0;
        background: rgba(250,249,246,0.97);
        padding: 2rem 5vw;
        border-bottom: 0.5px solid rgba(46,44,41,0.1);
        z-index: 100; gap: 1.5rem;
    }
    .af-nav-links.open { display: flex; }
    .af-nav-toggle { display: flex; }
    .af-footer { flex-direction: column; gap: 1rem; text-align: center; }
}
