/* ========================================
   Rückenwind Rostock – CSS
   Maritime-nordisch, Mobile-first
   ======================================== */

/* --- Custom Properties --- */
:root {
    --navy: #0B2545;
    --navy-light: #13315C;
    --blue: #134074;
    --blue-mid: #1B6CA8;
    --sky: #4DA8DA;
    --sky-light: #8EC5E2;
    --sand: #F5E6CA;
    --sand-light: #FDF6EC;
    --white: #FFFFFF;
    --gray-100: #F7F9FB;
    --gray-200: #E8EDF2;
    --gray-400: #94A3B8;
    --gray-600: #64748B;
    --gray-800: #1E293B;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --transition: 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.06);
    --shadow-md: 0 8px 24px rgba(11, 37, 69, 0.1);
    --shadow-lg: 0 16px 48px rgba(11, 37, 69, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.25;
    color: var(--navy);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--blue-mid);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--sky);
}

/* --- Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 16px;
}

.section-tag--light {
    color: var(--sky-light);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn--primary {
    background: var(--blue-mid);
    color: var(--white);
    border-color: var(--blue-mid);
}

.btn--primary:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in--delay-1 { animation-delay: 0.2s; }
.fade-in--delay-2 { animation-delay: 0.4s; }
.fade-in--delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }
.reveal--delay-3 { transition-delay: 0.45s; }

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s ease;
}

.nav--scrolled {
    background: rgba(11, 37, 69, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav__logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__logo:hover {
    color: var(--sand);
}

.nav__logo-icon {
    font-size: 1.5rem;
}

.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    list-style: none;
    transition: right 0.4s ease;
}

.nav__links.open {
    right: 0;
}

.nav__links li a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
}

.nav__links li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sky);
    transition: width var(--transition);
}

.nav__links li a:hover::after {
    width: 100%;
}

.nav__cta {
    padding: 10px 24px;
    border: 2px solid var(--sky);
    border-radius: 50px;
}

.nav__cta:hover {
    background: var(--sky);
    color: var(--navy) !important;
}

.nav__cta::after {
    display: none !important;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(165deg, var(--navy) 0%, var(--blue) 50%, var(--blue-mid) 100%);
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero__waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
}

.hero__wave--1 {
    fill: rgba(255, 255, 255, 0.06);
    animation: waveMove 8s ease-in-out infinite alternate;
}

.hero__wave--2 {
    fill: var(--white);
    animation: waveMove 6s ease-in-out infinite alternate-reverse;
}

@keyframes waveMove {
    from { transform: translateX(-20px); }
    to { transform: translateX(20px); }
}

.hero__content {
    text-align: center;
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.hero__greeting {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--sand);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.hero__title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 700;
}

.hero__highlight {
    color: var(--sky-light);
    position: relative;
}

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.hero__scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    animation: bounce 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about__grid {
    display: grid;
    gap: 48px;
}

.about__text h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: 24px;
}

.about__text p {
    color: var(--gray-600);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about__cards {
    display: grid;
    gap: 16px;
}

.about__card {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.about__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--sky-light);
}

.about__card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.about__card h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--navy);
}

.about__card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* --- Values --- */
.values {
    position: relative;
    background: var(--navy);
    padding: 100px 0;
}

.values__wave-top,
.values__wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.values__wave-top {
    top: 0;
}

.values__wave-top svg {
    fill: var(--white);
    width: 100%;
    height: 60px;
}

.values__wave-bottom {
    bottom: 0;
}

.values__wave-bottom svg {
    fill: var(--white);
    width: 100%;
    height: 60px;
}

.values__header {
    text-align: center;
    margin-bottom: 64px;
}

.values__header h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--white);
    margin-bottom: 16px;
}

.values__header p {
    color: var(--gray-400);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto;
}

.values__grid {
    display: grid;
    gap: 24px;
}

.values__item {
    padding: 32px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition);
}

.values__item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(77, 168, 218, 0.3);
    transform: translateY(-4px);
}

.values__number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--sky);
    opacity: 0.5;
    margin-bottom: 12px;
}

.values__item h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.values__item p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Offers --- */
.offers {
    padding: 100px 0;
    background: var(--white);
}

.offers__header {
    text-align: center;
    margin-bottom: 64px;
}

.offers__header h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: 16px;
}

.offers__header p {
    color: var(--gray-600);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
}

.offers__grid {
    display: grid;
    gap: 24px;
}

.offers__card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.offers__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-mid), var(--sky));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.offers__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--sky-light);
}

.offers__card:hover::before {
    transform: scaleX(1);
}

.offers__card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.offers__card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--sand-light), var(--sky-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--navy);
}

.offers__card h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
}

.offers__card p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.offers__link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--blue-mid);
    transition: all var(--transition);
}

.offers__link:hover {
    color: var(--blue);
    letter-spacing: 0.02em;
}

.offers__card-size {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue-mid);
    opacity: 0.6;
}

.offers__card-format {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-mid);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px !important;
}

.offers__card-result {
    font-size: 0.9rem;
    color: var(--navy) !important;
    background: var(--sand-light);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--blue-mid);
}

.offers__value-note {
    text-align: center;
    max-width: 680px;
    margin: 48px auto 0;
    color: var(--gray-600);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.7;
}

/* --- Vision --- */
.vision {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(170deg, var(--blue) 0%, var(--navy) 100%);
    overflow: hidden;
}

.vision__content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.vision__quote {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
    margin-bottom: 32px;
    font-style: italic;
    position: relative;
}

.vision__quote::before {
    content: '\201E';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5rem;
    color: var(--sky);
    opacity: 0.3;
    font-style: normal;
    line-height: 1;
}

.vision__text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

.vision__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: var(--gray-100);
}

.contact__grid {
    display: grid;
    gap: 48px;
}

.contact__info h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 20px;
}

.contact__info > p {
    color: var(--gray-600);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__detail {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-weight: 500;
    padding: 12px 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    width: fit-content;
}

.contact__detail:hover {
    border-color: var(--sky);
    color: var(--blue-mid);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.contact__form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.form__group {
    margin-bottom: 20px;
}

.form__group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.form__group input,
.form__group select,
.form__group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--white);
    transition: all var(--transition);
    outline: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    border-color: var(--sky);
    box-shadow: 0 0 0 3px rgba(77, 168, 218, 0.15);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
    color: var(--gray-400);
}

.form__group textarea {
    resize: vertical;
    min-height: 120px;
}

.form__group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

/* --- Footer --- */
.footer {
    position: relative;
    background: var(--navy);
    padding: 60px 0 30px;
}

.footer__wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer__wave svg {
    fill: var(--gray-100);
    width: 100%;
    height: 50px;
}

.footer__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.footer__brand p {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-top: 8px;
    line-height: 1.6;
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--white);
}

.footer__bottom {
    padding-top: 24px;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ========================================
   Responsive – Tablet (768px+)
   ======================================== */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }

    .hero__actions {
        flex-direction: row;
        justify-content: center;
    }

    .about__grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
        gap: 64px;
    }

    .about__cards {
        grid-template-columns: 1fr;
    }

    .values__grid {
        grid-template-columns: 1fr 1fr;
    }

    .values__wave-top svg,
    .values__wave-bottom svg {
        height: 80px;
    }

    .offers__grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact__grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .contact__form {
        padding: 44px;
    }

    .footer__content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .nav__toggle {
        display: none;
    }

    .nav__links {
        position: static;
        width: auto;
        height: auto;
        background: none;
        flex-direction: row;
        gap: 32px;
    }

    .hero__wave {
        height: 180px;
    }
}

/* ========================================
   Responsive – Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
    .about__grid {
        gap: 80px;
    }

    .values__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .values__wave-top svg,
    .values__wave-bottom svg {
        height: 100px;
    }

    .offers__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .offers__card {
        padding: 32px 28px;
    }

    .offers__card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
